<template>
  <div class="anniu" v-if="module.modules">
    <div
      style="padding-bottom: 15px"
      class="btn flex-x-center-center"
      v-if="module.modules[0] && module.modules[0].title"
    >
      <div
        class="btn-text flex-x-center-center"
        style="background:#FFB72F;color:#fff"
      >
        {{ module.modules[0].title }}
      </div>
    </div>
    <ModuleNotConfig v-else />
  </div>
</template>

<script>

export default {
  props: {
    module: {
      type: Object,
    },
    fileBaseUrl: {
      type: String,
    },
  },
};
</script>

<style lang="scss" scoped>
.btn {
  height: 75px;
  // padding-bottom: constant(safe-area-inset-bottom);
  // padding-bottom: env(safe-area-inset-bottom);
  width: 100%;
}

.btn-text {
  width: 300px;
  height: 44px;
  border-radius: 22px;
  padding: 0px 5px;
  font-size: 16px;
  font-family: PingFang SC;
  font-weight: 400;
}
</style>